Top 10k strings from Yahtzie (1983)(Bob Hemmings).z80
in <root> / bin / z80 / software / Sinclair Spectrum Collection TOSEC.exe / Sinclair ZX Spectrum - Games / [Z80] /
Back to the directory listing
5 s(p,i)=p(i): 2 ;"First Roll." 2 of a kind then sum 1 z(i)=d(i): 1 yahtzee 1 up=up+s(p,i) 1 t(p)=t(p)+s(p,17 1 s(p,c)=p(c): 1 press ENTER to see series totals 1 p(j)=p(j)+(d(i)=j)*j 1 p$="13456" 1 p$="12346" 1 n(i)=n(i)+d(d) 1 m$(p)=n$(p): 1 lo=lo+s(p,i) 1 k(p)=t(p)+s(p,17 1 k(j)=k(j)+1 1 k$="Third" 1 k$="Second": 1 j=j+s(p,i) 1 gr=gr+b(p) 1 di,c; " " 1 d(p)=s(p,17 1 d(i)=z(i): 1 a$="Third" 1 a$="Second": 1 a$="First": 1 UPPER TOTAL 1 UPPER SECTION 1 Press 'Y' for another game 1 Press 'R' to re-read the rulEs, press ENTER to start the game. 1 LOWER TOTAL 1 LOWER SECTION 1 GRAND TOTAL 1 CAPS SHIFT 1 ;n$(i);" press ENTER"; 1 ;k$;" Roll." 1 ;a$;" Roll. ": 1 ;"Which category (1 to 13) ?" 1 ;"That category has been used": 1 ;"Press ENTER to roll dice." 1 ;"Enter which dice to re-roll": 1 ;"Enter P for possibilities, S to score, R for another roll. 1 ;"Enter P for possibilities, 1 ;"Congratulations, ";m$(1 1 ;" Press Y or N" 1 .you WON." 1 (t$(i))=32 1 ''"To score in, say, category 5 then you may type 1 ''"To save time, you can enter yourrolls as: 1 ''"If the total for the UPPER 1 ''"Do NOT press 1 ''" The game continues until all the categories are filled."'' " A series consists of six games,but you may play any number." 1 ''" After each turn, a player MUST choose one of these categories -even if it scores a zero."'' " The computer will advise you ofthe possible scoring categories if you desire." 1 '"All of the thirteen categories have a special rule for scoring."'"They are shown below:"' 1 '"7. 3/Kind - If you have three 1 '"1.Aces - Sum of all 'ones'"'"2.Twos - Sum of all 'twos'"'"3.Threes- Sum of all 'threes'" 1 '" You begin your turn by rollingall five dice. If you wish, youcan re-roll any or all of the 5 dice up to twice more, before selecting one of the thirteen categories to score in. Any usedcategory cannot be scored again." 1 '" Yahtzie is a popular oriental game in which each of up to fourplayers scores the value of his five dice in one of thirteen categories." 1 '" Do you require the rules ?"; 1 "4.Fours - Sum of all 'fours'"'"5.Fives - Sum of all 'fives'"'"6.Sixes - Sum of all 'sixes'" 1 "12.Yahtzie - If you have 5 of a 1 "'" 7 3/Kind"'" 8 4/Kind"'" 9 Fl.House"'"10 Sm.Strt"'"11 Lg.Strt"'"12 Yahtzie"'"13 Chance"'" 1 "'" 1 Aces"'" 2 Twos"'" 3 Threes"'" 4 Fours"'" 5 Fives"'" 6 Sixes"'" 1 to delete 1 letter, or just type 1 then score 25 pts." 1 section is 63 or more, a bonus of 35 points is added." 1 press 'N' to stop. 1 or you will have to re-LOAD the game." 1 kind, score 50. 13.Chance - Sum of all dice." 1 if you wanted to,say, roll dice 1,3 and 4." 1 beforepressing the 1 and press 1 and 2 of another 1 all dice." 1 all dice. 1 S to score. 1 Press ENTER to begin. 1 Players -> 1 Game and series totals 1 FOR ANOTHER SERIES, OR ANY OTHER KEY TO END." 1 COPYRIGHT 1 8. 4/Kind - If you have four 1 1983 R.K.Hemmings. 1 1983 BOB HEMMINGS.": 1 - With a sequence of straight 5 dice,score 40." 1 - With 3 of one dice house 1 (or 5 of a kind) 1 "Type in the players names,"''"pressing ENTER after each one."''"Hit ENTER on it's own when done."''"Type one or more names beginning"''"with ZX if you wish the computer"''"to also play." 1 "10.Small - With a sequence of straight 4 dice,score 30. 11.Long 1 " If you make a mistake when you are typing in, either hold down 1 Press ENTER for more details. 1 Player order selection: